<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@include file="/GoHome.jsp"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
</head>
<body>

	<form action="/Cs420Web/Album" method="get">

		<table border="1" bordercolor="#FFCC00" style="background-color:#FFFFFF" width="100%" cellpadding="3" cellspacing="3">
			<c:forEach items="${albums}" var="album">

				<tr>
					<td><input type="radio" name="idAlbum" value="${album.idAlbum}"></td>
					
					<td>Title: ${album.title}</td>
			
					<td>Subtitle: ${album.subTitle}</td>
				
					<td>Shared: ${album.shared}</td>
					
				</tr>

		</c:forEach>
				<tr>
					<td><input type="submit" value="Show album" id="action" name="showAlbum"/></td>
				</tr>
		
		</table>
		</form>
</body>
</html>
